package com.ts.api.module.match.market.internal.sort.model;

import com.ts.api.module.channel.entity.po.ChannelMarketPO;
import lombok.Data;

import java.util.List;

/**
 *  贷超排序返回结果
 *
 *  @author Pan
 */
@Data
public class ChannelMarketSortResult {

    /** 贷超集合 */
    private List<ChannelMarketPO> listMarketSort;

    /**
     *  构建
     *
     *  @param  listMarket   贷超列表
     *  @return ChannelMarketSortResult
     */
    public static ChannelMarketSortResult of(List<ChannelMarketPO> listMarket) {
        ChannelMarketSortResult channelMarketSortResult = new ChannelMarketSortResult();
        channelMarketSortResult.setListMarketSort(listMarket);
        return channelMarketSortResult;
    }
}
